package com.groupbuying.payproducer.service.impl;

import com.groupbuying.payproducer.dao.PayAlipayResultDao;
import com.groupbuying.payproducer.domain.PayAlipayResultDO;
import com.groupbuying.payproducer.service.PayAlipayResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class PayAlipayResultServiceImpl implements PayAlipayResultService {
	@Autowired
	private PayAlipayResultDao payAlipayResultDao;
	
	@Override
	public PayAlipayResultDO get(String id){
		return payAlipayResultDao.get(id);
	}
	
	@Override
	public List<PayAlipayResultDO> list(Map<String, Object> map){
		return payAlipayResultDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return payAlipayResultDao.count(map);
	}
	
	@Override
	public int save(PayAlipayResultDO payAlipayResult){
		return payAlipayResultDao.save(payAlipayResult);
	}
	
	@Override
	public int update(PayAlipayResultDO payAlipayResult){
		return payAlipayResultDao.update(payAlipayResult);
	}
	
	@Override
	public int remove(String id){
		return payAlipayResultDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return payAlipayResultDao.batchRemove(ids);
	}
	
}
